package com.kun.web;

import org.springframework.stereotype.Component;

/**
 * 熔断器，只需要实现对应的接口
 */
@Component
public class HelloServiceHystric implements HelloInterface {
    @Override
    public String sayHello(String name) {
        return "hi," + name + ",sorry,error!";
    }
}
